# -*- coding: utf-8 -*-
'''
Created on 2012/4/5

@author: adjunhon
'''
from django import forms

class RegistrationForm(forms.Form):
    name = forms.CharField(max_length = '20', 
            error_messages={'required': '請輸入姓名'})
    gender = forms.CharField(max_length = '8')
    phone  = forms.CharField(max_length = '16',
            error_messages={'required': '請輸入電話'})
    email = forms.EmailField(error_messages={'required': '請輸入Email'})
    org = forms.CharField(max_length = '20',
            error_messages={'required': '請輸入所屬單位'})
    department = forms.CharField(max_length = '20',
            error_messages={'required': '請輸入所屬部門'})
    status = forms.CharField(max_length = '8')
